package org.cancer.app

import org.apache.spark.sql.DataFrame
import org.cancer.common.TApp_Laurel
import org.cancer.controller.LungCancerIncidenceController

object LungCancerIncidenceApp$Laurel extends TApp_Laurel{

   val lungCancerIncidenceController = new LungCancerIncidenceController()

  start("local[*]","LungCancerIncidenceApp"){

    val ds: DataFrame = spark.read.option("header", "true").csv("input/ChineseCancerPatientInfo.csv")

    lungCancerIncidenceController.dispatch(ds)
  }

}
